package cn.cs.mapper;

import cn.cs.pojo.WxAccessToken;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WxAccessTokenMapper {

    public WxAccessToken getWxAccessTokenById(@Param(value = "id") String id);

    public List<WxAccessToken> getWxAccessTokenListByMap(Map<String, Object> param) throws Exception;

    public Integer getWxAccessTokenCountByMap(Map<String, Object> param) throws Exception;

    public Integer insertWxAccessToken(WxAccessToken wxAccessToken) throws Exception;

    public Integer updateWxAccessToken(WxAccessToken wxAccessToken) throws Exception;

    public Integer deleteWxAccessTokenById(@Param(value = "id") Long id) throws Exception;

}
